The following patch fixes a bug where xenconsoled will can SEGV
authorkaf24@localhost.localdomain <kaf24@localhost.localdomain>
Mon, 28 Aug 2006 11:50:55 +0000 (12:50 +0100)
committerkaf24@localhost.localdomain <kaf24@localhost.localdomain>
Mon, 28 Aug 2006 11:50:55 +0000 (12:50 +0100)
commit2b1e704734e09cb2b778146bce9111123f822bbe
tree759ba9db0d7a5e7bbbb7e36e0a4a852644f54317
parenta1a3b44764a5e0ba57baf00336e5942a45670ec0
The following patch fixes a bug where xenconsoled will can SEGV
because it uses FD_ISSET(-1,xxx).  Since the code is written that any
ring/tty handler can set d->tty_fd to -1 it has to be checked
_every_time_.

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
tools/console/daemon/io.c